<?php defined('BASEPATH') OR exit('No direct script access allowed');
/*
 * author  : hatran
 * email   : ha.tran@citigovietnam.com
 * version : 1.0
 * */

class Menu extends Controller{

  	function __construct(){
		parent::__construct();
		$this->load->model(array('menu_model'));
		
		
	}
	
	
	function index(){
	
	}
	
    
    
	function home_main(){

		redirect('home','refresh');
	}
	
	function introduction(){
		die('vao trang gioi thieu');
	}
	
	function ground(){
		die('vao trang mat bang');
	}
	
	function products(){
		die('vao trang san pham');
	}
	
	function projects_rop(){
		die('vao trang tien do du an');
	}
	
	function usefull(){
		die('vao trang tien ich');
	}
	
	function investor(){
		die('vao trang dau tu');
	}
	
	function document(){
		die('vao trang tai lieu');
	
	}
	
	function news(){
		die('vao trang news');
	}
	
	function contact(){
		
		$data['mes']		=	"";
		
		if($_SERVER['REQUEST_METHOD'] == "POST"){
           
            if($this->form_validation->run() == TRUE){
				
            	
            	$data['mes']	=	"Thong tin da duoc gui thanh cong.";
            } else {
            	$data['mes']	=	"Co loi xay ra.";
            }
		}
		
		$data['content']	=	"contact_tpl";
		$this->load->view('front_end/index',$data);
	}
}